package edu.ccut.saturn.studio.wfg.dialog.userdialog;

import java.util.ArrayList;
import java.util.List;

public class RolePack implements ISecondTree<Role> {
	
	private String name = "";

	public List<Role> roles = new ArrayList<Role>();

	public RolePack(){
		
	}
	
	public RolePack(String name){
		this.name = name;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public List<Role> getRoles() {
		return roles;
	}

	public void setRoles(List<Role> roles) {
		this.roles = roles;
	}

	public void setChildren(List<Role> children) {
		this.roles = (List<Role>)children;
	}
	
	public List<Role> getChildren() {
		return this.roles;
	}
}
